/*******************************************************************************
 * Copyright (c) 2010, 2010 Xbeam Project and ChenZhiKong.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License. 
 *******************************************************************************/
package org.bellusoft.xbeam.framework;

import java.io.File;
import java.io.InputStream;

import org.bellusoft.xbeam.framework.XbeamConstants.AutoStartSetting;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleException;

/**
 *
 */
public class KernelImpl implements Kernel{

	/* (non-Javadoc)
	 * @see org.bellusoft.xbeam.framework.Kernel#getProperty(java.lang.String)
	 */
	public String getProperty(String key) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see org.bellusoft.xbeam.framework.Kernel#loadPersistBundles()
	 */
	public Bundle[] loadPersistBundles() {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see org.bellusoft.xbeam.framework.Kernel#installBundle(java.lang.String, java.io.InputStream)
	 */
	public Bundle installBundle(String location, InputStream input)
			throws BundleException {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see org.bellusoft.xbeam.framework.Kernel#installBundle(java.lang.String, java.io.InputStream, org.bellusoft.xbeam.framework.XbeamConstants.AutoStartSetting)
	 */
	public Bundle installBundle(String location, InputStream input,
			AutoStartSetting startSetting) throws BundleException {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see org.bellusoft.xbeam.framework.Kernel#getBundle(long)
	 */
	public Bundle getBundle(long id) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see org.bellusoft.xbeam.framework.Kernel#getBundles()
	 */
	public Bundle[] getBundles() {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see org.bellusoft.xbeam.framework.Kernel#enableEventDispatcher()
	 */
	public void enableEventDispatcher() {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
	 * @see org.bellusoft.xbeam.framework.Kernel#disableEventDispatcher()
	 */
	public void disableEventDispatcher() {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
	 * @see org.bellusoft.xbeam.framework.Kernel#sendFrameworkEvent(int)
	 */
	public void sendFrameworkEvent(int frameworkEvent) {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
	 * @see org.bellusoft.xbeam.framework.Kernel#sendBundleEvent(int)
	 */
	public void sendBundleEvent(int bundleEvent) {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
	 * @see org.bellusoft.xbeam.framework.Kernel#startStartLevelService()
	 */
	public void startStartLevelService() {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
	 * @see org.bellusoft.xbeam.framework.Kernel#stopStartLevelServices()
	 */
	public void stopStartLevelServices() {
		// TODO Auto-generated method stub
		
	}

	/**
	 * @param file
	 */
	public void setCacheRoot(File file) {
		// TODO Auto-generated method stub
	}

	/**
	 * 
	 */
	public void init() {
		// TODO Auto-generated method stub
		
	}

	/**
	 * @return all bundle 
	 */
	public HostBundle[] getHostBundles() {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * 
	 */
	public void unregisterAllServices() {
		// TODO Auto-generated method stub
		
	}

	/**
	 * 
	 */
	public void releaseAllResources() {
		// TODO Auto-generated method stub
		
	}

	/**
	 * @param frameworkEvent
	 * @param e
	 */
	public void sendFrameworkEvent(int frameworkEvent, BundleException e) {
		// TODO Auto-generated method stub
		
	}
	

}
